/*
 * @Author: Sam
 * @Date: 2025-04-27 09:19:45
 * @LastEditTime: 2025-10-09 10:57:11
 * @LastEditors: Sam
 */
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
import { ENVConfig } from './configs/ENVConfig.ts';
import { Config, GISViewer } from 'gis-viewer';
import { Utils } from './utils/Utils.ts';


Config.API_BASE_URL = ENVConfig.API_BASE_URL;

//全局对象初始化promise
window.gisvDefer = Utils.defer<GISViewer>();

createRoot(document.getElementById('root')!).render(<App />);
